#ifndef __VIEW_REC_DIALOG_H__
#define __VIEW_REC_DIALOG_H__

#include <QDialog>
#include <QPrinter>
#include <QPrintDialog>
#include <QTextEdit>
#include <QMessageBox>
#include <QtSql>
#include <string>
#include <iostream>
#include <fstream>
#include "ui_view_rec_dialog.h"

class ViewRecDialog : public QDialog, public Ui::Recipe
{
Q_OBJECT
public:
	ViewRecDialog( QWidget * parent = 0, Qt::WFlags f = 0 );
	void information( QString title, QString desc, QString ingre, QString direc, 
	                   QString nums, QString prep, QString cook, QString totalT, 
	                   QString cal);
private slots:
	void printRec(); // print recipe
	void doneClicked(); // exits the program
};

#endif // __VIEW_REC_DIALOG_H__
